#include <cstdio>
#include <cmath>
using namespace std;

int main()
{
    double a, b, c;
    scanf(" %lf", &a);
    scanf(" %lf", &b);
    scanf(" %lf", &c);

    double temp = b * b - 4 * a * c;
    if (temp < 0.0) {
        printf("No real roots!\n");
        return 1;
    }

    double r1, r2;
    r1 = (sqrt(temp) - b) / (2 * a);
    r2 = (-sqrt(temp) - b) / (2 * a);
    printf("r1=%7.2f\nr2=%7.2f\n", r1, r2);
    return 0;
}